package gat.infrastructure.persistence.dao.backgroundUser;

import com.bitsun.core.framwork.infrastructure.persistence.dao.BaseExtMapper;
import gat.infrastructure.persistence.po.backgroundUser.PermissionsPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
  * 权限表
  * @author: tmac
  * @email: tmac
  */
@Mapper
public interface PermissionsMapper extends BaseExtMapper<PermissionsPo> {

    int selectAuthByUserIdAndMenuCode(@Param("roleIds") List<Long> roleIds, @Param("menuCode") String menuCode);

}
